package andanyoung.springcloud.user.service.impl;

import andanyoung.springcloud.user.client.OrderClient;
import andanyoung.springcloud.user.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    OrderClient orderClient;

    @Override
    public String getOrder(long uid) {
        return orderClient.getOrder(uid);
    }

    @Override
    public String getFailureOrder(long uid) {
        return orderClient.getFailureOrder(uid);
    }
}
